package session

import "time"

type Store interface {
	Get(id string, key string) interface{}
	Set(id string, key string, value interface{}) error
	Del(id string, key string) error

	Start() error
	Clear(id string) error
	Exist(id string) bool
	SetExpire(expire time.Duration)
}